package com.gxar.marketdelivery.interfaces.web.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author nice
 * @version 1.0
 * @created 2023/7/21.
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("投放计划分页查询参数")
public class QueryDeliveryPlanParam extends PageParam {

    @ApiModelProperty("投放计划ID")
    private Long id;

    @ApiModelProperty("资源位ID")
    private Long resSlotId;

    @ApiModelProperty("投放计划名称")
    private String planName;

    @ApiModelProperty("投放计划状态列表")
    private List<Integer> planStatuses;

    @ApiModelProperty("包含城市或者排除城市")
    private Integer cityContainRelation;

    @ApiModelProperty("城市列表")
    private List<Integer> cities;

    @ApiModelProperty("创建者")
    private List<String> creators;

    @ApiModelProperty("修改者")
    private List<String> modifiers;

    @ApiModelProperty("投放起始时间")
    private Long startTime;

    @ApiModelProperty("投放结束时间")
    private Long endTime;

    @ApiModelProperty(value = "排序方式，前端没传默认按照修改时间",example = "见常量planSortWay")
    private Integer planSortWay = 2;
}
